package club.banyuan;

public class Main {
    public static void main(String[] args) {
        Student student = new Student("学生");
        Primary primary = new Primary("小学生");
        Middle middle = new Middle("中学生");
        High high = new High("高中生");

        System.out.println(student.getName());
        System.out.println(primary.getName());
        System.out.println(middle.getName());
        System.out.println(high.getName());

        student.study();
        primary.study();
        middle.study();
        high.study();
    }
}
